///@file Segment.h
///@brief Declaration of the class representing a segment
///@author Arnaud Duval
///@version 0.0
///@date 2010/03/03


#ifndef SEGMENT_H
#define SEGMENT_H

#include <iostream>
#include "Point.h"

///@class Segment
///@brief Class defining a Segment
/// A segment is between 2 points
class Segment
{
	private:
		///@brief pointer to the first point
		Point *p1;
		///@brief pointer to the second points
		Point *p2;
	public:
		///@brief Default constructor
		Segment();
		///@brief Constructor with arguments
		Segment(Point*, Point*);
		///@brief Destructor
		~Segment();
		///@brief Compute length
		double Length();
};



#endif